package com.cro.prison.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cro.prison.entity.pojo.Prisoner;
import com.cro.prison.entity.vo.AddPrisonerVo;
import com.cro.prison.entity.vo.QueryCriteria;

import java.text.ParseException;
import java.util.List;

public interface PrisonService extends IService<Prisoner> {

    /**
     * 查询新进罪犯名单（一个月前）
     * @param
     * @return java.util.List<com.cro.prison.entity.pojo.Prisoner>
     **/
    List<Prisoner> listByDate();


    String analysisAndPrediction(Long id);

    List<Integer> selectByType (Integer prisonerType);

    //创建犯人信息
    void addPrisoner(AddPrisonerVo prisoner) throws ParseException;


    Prisoner getPrisonerByIdNumber(String idNumber);
}
